import React from 'react';
import {Link} from "react-router-dom";
import {config} from "../../../config";

function FormButton(props) {
    return (
        <div id="button" className="row">
            <button onClick={()=>{
                props.login()
            }}>
                {props.title}
                {/*<Link className="link"  to="/chat">*/}
                {/*    {props.title}*/}
                {/*</Link>*/}
            </button>
        </div>
    );

}

export default FormButton;
